require "language"

let :Race, Entity.with(:name => String)


let :RPGClass, Entity.with(:name => String)


let :Ability, Entity.with(
  :name => String,
  :score => Integer,
  :modifier => Proc).
  having(
  :modifier => Proc.new{(get(:score) / 2).floor - 5 })


